package com.mdd.admin.service;

import com.mdd.admin.validate.LegalUserWithdrawSearchValidate;
import com.mdd.admin.validate.LegalUserWithdrawStatusUpdateValidate;
import com.mdd.admin.validate.LegalUserWithdrawUpdateValidate;
import com.mdd.admin.validate.commons.PageValidate;
import com.mdd.admin.vo.LegalUserWithdrawDetailVo;
import com.mdd.admin.vo.LegalUserWithdrawListedVo;
import com.mdd.common.core.PageResult;

/**
 * 提现表服务接口类
 * @author LikeAdmin
 */
public interface ILegalUserWithdrawService {

    /**
     * 提现表列表
     *
     * @author LikeAdmin
     * @param pageValidate 分页参数
     * @param searchValidate 搜索参数
     * @return PageResult<LegalUserWithdrawListedVo>
     */
    PageResult<LegalUserWithdrawListedVo> list(PageValidate pageValidate, LegalUserWithdrawSearchValidate searchValidate);

    /**
     * 提现表详情
     *
     * @author LikeAdmin
     * @param id 主键ID
     * @return LegalUserWithdrawDetailVo
     */
    LegalUserWithdrawDetailVo detail(Integer id);

    /**
     * 提现表编辑
     *
     * @author LikeAdmin
     * @param updateValidate 参数
     */
    void edit(LegalUserWithdrawUpdateValidate updateValidate);

    void editStatus(LegalUserWithdrawStatusUpdateValidate updateValidate);

}
